<?php
class User extends AppModel {
	var $uses = null;
	var $name = 'User';
	var $validate = array(
			'email' => array('rule'=> array('email'),
							 'required' => true,
							 'message' => 'Email must be valid email address.'
			),
			'password' => array('rule' => array('minlength', 6),
								'required' => true,
								'message' => 'Password must be at least 6 characters in length.'
			),
		);
	
}
?>